package com.zym.field_method10.exampl101;

public class MOLTest {

    public void mOL(int x){
        System.out.println(x * x);
    }
    public void mOL(int x ,int y){
        System.out.println(x * y);
    }

    public void mOL(String str){
        System.out.println(str);
    }

    public static void main(String[] args) {
        MOLTest molTest = new MOLTest();
        molTest.mOL(2);
        molTest.mOL(2,2);
        molTest.mOL("hello");
    }

}
